﻿package com.gengine.resource.loader
{
    import flash.utils.*;

    public class JTALoader extends BaseLoader
    {

        public function JTALoader()
        {
            return;
        }// end function

        override public function getClass() : Class
        {
            return JTALoader;
        }// end function

        override public function initialize(param1) : void
        {
            if (!(param1 is ByteArray))
            {
                throw new Error("DataResource can only handle ByteArrays.");
            }
            onLoadCompleteHandler();
            return;
        }// end function

        override protected function onContentReady(param1) : Boolean
        {
            return true;
        }// end function

    }
}
